import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '商场名称',
    align: "center",
    dataIndex: 'mallName'
  },
  {
    title: '管理员',
    align: "center",
    dataIndex: 'admin_dictText'
  },
  {
    title: '省市区',
    align: "center",
    dataIndex: 'provinceCity',
  },
  {
    title: '详细地址',
    align: "center",
    dataIndex: 'address'
  },
  {
    title: '账号状态',
    align: "center",
    dataIndex: 'accountStatus_dictText'
  },
  {
    title: '创建日期',
    align: "center",
    dataIndex: 'createTime'
  },
];

// 高级查询数据
export const superQuerySchema = {
  mallName: {title: '商场名称',order: 0,view: 'text', type: 'string',},
  admin: {title: '管理员',order: 1,view: 'sel_user', type: 'string',},
  provinceCity: {title: '省市区',order: 2,view: 'pca', type: 'string',},
  address: {title: '详细地址',order: 3,view: 'textarea', type: 'string',},
  createTime: {title: '创建日期',order: 6,view: 'datetime', type: 'string',},
};
